#import <Foundation/Foundation.h>
#import <AudioToolbox/AudioToolbox.h>
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <MediaPlayer/MediaPlayer.h>

@interface SoundDelegate : NSObject<AVAudioPlayerDelegate>


@property AVAudioPlayer* player;
-(void) playSoundWithName:(NSString*) soundName andType:(NSString*) soundType;

-(void) play;
@end
